package com.gouqi.bookdemobackend.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gouqi.bookdemobackend.model.vo.BookVO;
import com.gouqi.bookdemobackend.model.dto.BookQueryRequest;
import com.gouqi.bookdemobackend.model.entity.Book;

import javax.servlet.http.HttpServletRequest;

/**
* @description 针对表【book】的数据库操作Service
*/
public interface BookService extends IService<Book> {

    QueryWrapper<Book> getQueryWrapper(BookQueryRequest bookQueryRequest);

    Page<BookVO> getBookVOPage(Page<Book> bookPage, HttpServletRequest request);
}
